package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.Account;

public interface AccountService extends IService<Account>{

    /**
     * 修改金额的接口方法
     * @param userAccount
     * @param cost
     * @return
     */
    boolean deduct(String userAccount, Integer cost);
}
